package com.dreamthen.config;

import com.dreamthen.service.impl.GamePlayer;
import com.dreamthen.service.impl.GameProxyPlayer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @Author zengms
 * @Date 2023-10-24 20:41:06
 **/
@Configuration
@ComponentScan(basePackages = "com.dreamthen")
@EnableAspectJAutoProxy
public class AppConfig {

/*
    @Bean
    public GamePlayer gamePlayer(){
        return new GamePlayer("张三");
    }
    @Bean
    public GameProxyPlayer gameProxyPlayer(){
        return new GameProxyPlayer("张三");
    }

 */
}
